package com.jianhua.appmarket.module.dao.system;

import com.jianhua.appmarket.common.base.BaseDao;
import com.jianhua.appmarket.module.entity.system.Menu;
import com.jianhua.appmarket.module.model.system.MenuParam;
import com.jianhua.appmarket.module.model.system.MenuVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MenuDao extends BaseDao<Menu> {

    List<MenuVO> listByParam(MenuParam param);


    List<MenuVO> listByUserId(Long userId);
}
